<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let a = Number(prompt("请输入数字a"));
        let b = Number(prompt("请输入数字b"));
        let c = Number(prompt("请输入数字c"));
        alert(a > b ? (a > c ? a : c) : b > c ? b : c);
    </script>
</body>

</html>